{extend name="public/base"/}
{block name="style"}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/bootstrap-editable.css">
{/block}
{block name="body"}
<div class="main-box clearfix">
	<header class="main-box-header clearfix">
		<div class="pull-left">
			<h2>{$meta_title}</h2>
		</div>
		<div class="pull-right">
			<!--<a class="btn btn-primary" href="{:url('add')}">新 增</a>-->
			<!--<button class="btn btn-danger ajax-post confirm" url="{:url('delete')}" target-form="ids">删 除</button>-->
		</div>
	</header>
	<div class="main-box-body clearfix">

		<div class="navbar navbar-default">
			<form action="" class="navbar-form form-inline" method="get">
				<div class="form-group">
					<label class="control-label" for="input-order-id">用户ID</label>
					<div class="input-group">
						<input type="number" min="0" name="uid" value="{$param['uid']|default=''}" placeholder="UID" class="form-control">
					</div>
				</div>

				<div class="form-group">
					<label class="control-label" for="input-order-id">状态</label>
					<div class="input-group">

						<select name="status" id="status" class="form-control">
							<option value="0">----请选择-----</option>
							{foreach name="status" id="v"}
							<option value="{$key}">{$v}</option>
							{/foreach}
						</select>

					</div>
				</div>
				<button class="btn btn-primary" type="submit"><i class="fa fa-search"></i> 筛选</button>
			</form>
		</div>

		<div class="table-responsive clearfix">
			<table class="table table-hover">
				<thead>
					<tr>
						<!--<th width="30"><input class="checkbox check-all" type="checkbox"></th>-->

						<th width="60">ID</th>
						<th><span>用户ID</span></th>
						<th><span>到账方式</span></th>
						<th><span>提现金额</span></th>
						<th><span>实际打款金额</span></th>
						<th><span>提现手续费</span></th>
						<th><span>创建时间</span></th>
						<th><span>提现状态</span></th>
						<th><span>审核人</span></th>

						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					{volist name="list" id="item"}
					<tr>

						<!--<td><input class="ids row-selected" type="checkbox" name="id[]" value="{$item['id']}"></td>-->

						<td>{$item['id']}</td>
						<td>{$item['uid']}</td>
						<td>{$item['type_name']}</td>
						<td>{$item['withdraw_money']}</td>
						<td>{$item['withdraw_paid_money']}</td>
						<td>{$item['withdraw_fee']}</td>
						<td>{$item['create_time']}</td>
						<td>{$item['withdraw_status_name']}</td>
						<td>{$item['deal_user']}</td>

						<td>
							<a href="{:url('review?id='.$item['id'])}" class="btn btn-sm btn-primary">审核</a>
							<!--<a href="{:url('edit?id='.$item['id'])}">编辑</a>-->
							<!--<a href="{:url('delete?id='.$item['id'])}" class="confirm ajax-get">删除</a>-->
						</td>
					</tr>
					{/volist}
				</tbody>
			</table>
			{$page}
		</div>
	</div>
</div>
{/block}